home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
admin
/
accounts
/
adduser.000
/
adduser
/
adduser.shadow.1.5
/
Makefile
< prev
next >
Wrap
Makefile
|
1996-05-10
|
556b
|
29 lines
CC=gcc
LD=gcc
RM=rm -f
CFLAGS=-O2 -m486 -pipe
#
# I prefer CFLAGS= -O -pipe
#
adduser:
$(CC) $(CFLAGS) -o adduser.o -c adduser.c
$(LD) -s adduser.o -o adduser-1.5
install:
cp adduser-1.5 /sbin/adduser
ln -sf /sbin/adduser /usr/sbin/adduser
ln -sf /sbin/adduser /usr/bin/adduser
@echo "Adduser-Shadow 1.5 now installed"
nocrypt: xfdes.o
$(CC) $(CFLAGS) -o adduser.o -c adduser.c
$(LD) -s adduser.o xfdes.o -o adduser-1.5
clean:
$(RM) adduser.o xfdes.o adduser-1.5 core *~
dist: clean
cd ..
tar -cvf /tmp/adduser.tar ./
gzip /tmp/adduser.tar